/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fmsactionserver.server.elements;

import fmsactionserver.server.check.ActionState;
import fmsactionserver.server.settings.actions.data.InputType;
import java.util.Date;

/**
 *
 * @author rbs
 */
public class Input {

    public InputType type;
    public String fms1, fms2, fms3;
    
    public Date date;
    
    public ActionState actionState;
    
    public Input(InputType type, String fms1, String fms2, String fms3, ActionState actionState) {
        
        this.type = type;
        this.fms1 = fms1;
        this.fms2 = fms2;
        this.fms3 = fms3;
        
        date = new Date();
        this.actionState = actionState;
        
    }
    
    public Input(InputType type, Date date, String fms1, String fms2, String fms3, ActionState actionState) {
        
        this.type = type;
        this.fms1 = fms1;
        this.fms2 = fms2;
        this.fms3 = fms3;
        
        this.date = date;
        this.actionState = actionState;
    }    

    public SpecialInput getSpecialInput()
    {
        return new SpecialInput(fms1, fms2, fms3, actionState);
    }
    
}
